package com.cv4j.app;

import com.cv4j.app.slice.MainAbilitySlice;

import ohos.aafwk.ability.Ability;
import ohos.aafwk.ability.fraction.FractionAbility;
import ohos.aafwk.content.Intent;

/**
 * MainAbility
 *
 * @since 2021-05-19
 */
public class MainAbility extends FractionAbility {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        getWindow().setStatusBarColor(
            getColor(ResourceTable.Color_primary_dark));
        super.setMainRoute(MainAbilitySlice.class.getName());
    }
}
